﻿using System;

namespace OpenAuth.Domain
{
    /// <summary>
    /// 公共基础实体类，提供实体类公共属性，如ID，NM，IsDelete，CreateDate，CreateUser，LastModifyDate，LastModifyUser等等
    /// </summary>
    public abstract class Entity
    {
        public Guid Id { get; set; }

        public Entity()
        {
            Id = Guid.NewGuid();
        }
    }
}
